Allow 0 as entity id

[Discussion](https://github.com/Zenify/Doctrine/commit/234f36cc5956f1a48604b9310ebab99404972a8e#commitcomment-6347538)