Changing JPA store to consider only the UUID of IdentityType instances when managing relationships.