Legislators weigh nuances of anonymous reporting by teachers