[Koha] Set a new id to validate duplicate record