Companies who have faced class action lawsuits, even (and maybe especially) frivolous ones, won't soon forget the experience.