by ben reynolds.
Seems to me that groups/groupings/cohorts ought to do this trick. You might need to do some planning if you're planning on Teacher A grading Group A in Assignment 1 but grading Group B in Assignment 2.
If you understand set theory and Venn diagrams, you should succeed.