GREG-17: Duplicate check
This merge request contains a validation check that checks whether two person identities have the same type and value, if the type is not other. This is to avoid duplicates that are not expected in the person identity table.