You raise a valid point as to how, if the students are going to make public accusations, they should be willing to put their names out there alongside of those allegations, as well. Of course, the media outlets would usually need parental consent for publishing the names of minors...but, presumably, the parents are standing behind their kids' accounts.
I also agree that if a teacher wishes to remain silent about the allegations, that's her or his right. But they should be aware that, without offering their side of the story, they're being put on-notice -- and will most likely be subject to increased scrutiny. Besides, if the teacher's lesson plan was really so innocent...then why WOULDN'T they want the general public to know what their students were actually learning?