Use entity set name as the key for Service#entity_sets hash

I think it makes more sense to use the name of the entity sets as the key for this hash. Otherwise, it will fail when there is more than one entity set with the same type.