set unique to scanid in all exams.