A fundamental connection between symmetry and spatial localization properties of basis sets