!!!
A somewhat less fallible way to do this is to download a report that includes columns for the User ID, Email Address, and Username of the student, such as the grade report. For a MOOC, that could be a real time sink, but you don't have to worry about one of the csv files getting reordered using a different column and making assumptions about whether you've got the right student.