Added automatic setting of identifier after inserting entity into PdoRepository.