Add identifiers for groups and apps
Also make use of frozendict so that we can do identifier in list_of_identifiers. Previously this was failing because two IdentifierSchemes could not be compared because a dict is not hashable.
Part of https://gitlab.developers.cam.ac.uk/uis/devops/iam/card-database/card-api/-/issues/116