Removed code duplication from UuidIdentifier implementations
Removed `doctrine/orm` dependency