I started a thread on a similar topic earlier this week - I don't like whole class punishments, they are ineffective and unjust.
I think it is fine to have a bit of rough with the smooth in school life - afterall we all put up with that in our adult lives. However, I think it is vitally important that whatever form of behaviour management is used, children should not be held responsible for the poor behavioural choices of others.
Children do have a natural instinct for fairness and justice - I find it sad that this instinct is so easily tossed aside becase a teacher is unable to control one or two children in their class.