Make EntityToId Data transformer reverse transform independent from entity primary key field name.

Don't assume that the primary key name will always be "id".