Little bit refactored Entity::__get and related methods