change user->idnumber to user->username, add auth => ldap
correct cohort->idnumber
Use course_categories->idnumber instead of name for identification to allow renaming.
Use course_categories->name for teacher_category, teacher_attic_category, because
name is configurable through settings.
Upgrade teacher_category, teacher_attic_category to use idnumber.