I understand 'username' to be something specific to authenticating a user on login.
idnumber is related to identification purposes (which is what you're after).
Gradebook
View grades by username
This discussion has been locked so you can no longer reply to it.