Main line 49: Where is ID defined? You can't pass a variable that's not in scope.
ID is a member of Student, but you're not referencing a Student instance.
You probably want to ask the user which student to remove, put the answer in a local variable and then pass that local variable to removeStudent().
main lines-23-25: These variables go out of scope for each iteration of the loop. What's the point?