Change the UID uniqueness index to cover lab_id, category and name