Support both spacegroup numbers and symbols as input