Fix UnicodeError with anonymous student IDs