Card #275: allow saving of identifier type, including validation