[NUCCORE-1192] Add some methods to IdentityUtils so we can minimise the
exposure of plugins to OID/SingleFieldId