set id value for newly created IdentityTypes and Relationships