Set entity manager property as protected

I'm extending `EntityToIdTransformer` and need access to the entity manager :)