CustomIdType::convertToDatabaseValue() should convert to int for id with strategy=INCREMENT