Text this: The geometrical dependence of radiation hardness in planar and 3D silicon detectors