Wrt the argument that these things happen because guys will be guys or because nerds have grudges against women: That may be a reason, but it's not an excuse for this sort of behavior. People should be expected to act professionally when in a professional context.
As for whether publicly naming names accomplishes anything: If a person's sense of professionalism (not to mention simple human decency) is low enough to engage in blatant sexual harassment, they clearly need some external incentive to not behave in this way. How does that incentive get provided if the people being harassed keep it to themselves?