added MongoId support in UnitOfWork::getById()