Also, at the risk of stating the obvious: there are potentially very serious ramifications for the person doing the naming and shaming too. Most people don't like being called sexist assholes even if they are, in fact, sexist assholes.
I think that what Heidi did is basically perfect - she's educating people that this does go on, it does have an effect on the women who are subjected to it, and they shouldn't have to put up with it. But she's doing it in a neutral, non-defensive tone, without calling out specific people. That's usually much more effective at changing behavior.
But if you could get over those hurdles, it should happen, regardless of those shamed "digging in". Seriously, this kind of behavior seems much more authentically shameful than a lot of illegal activities carrying multi-year sentences. Sorry but knowing that inappropriate behavior has hard consequences works as a deterrent, maybe not for the first guy confronted but for the tenth guy, who at that point knows they just better not do that.
In my view, the problem is the behavior of some guys, enabled by a much larger number of guys who are ignorant or indifferent. I think the solution mainly lies with waking up that latter group.
But if some sleazy fucker knows that the worst consequence of harassment is social disapproval it drastically lowers the stakes for him. You have to count on the harassed person to want to make the harassment very, very public so that the people outside his close also-sleazy social group find out, remember, and hold him accountable.
Beyond losing friends and contacts, any retribution would have to happen in the business world; how do you hold someone accountable inside a system were sociopathical ignorance of the social consequences of your actions (and the actions of other) is rewarded. My entire life has been a series of events crushing the pleasing ideals I was taught as a child regarding morals, they just don't matter in business. Some businesses have them, and it costs them money to exercise them.
Legal recourse is how society turns externalities into internalites.
It's great when that happens. But take a look at what happens to people who report rapes, a crime for which their is often physical evidence. E.g.: http://msmagazine.com/blog/2011/04/15/woman-pays-for-reporti... or http://www.xojane.com/it-happened-to-me/it-happened-to-me-i-... http://www.washingtoncitypaper.com/articles/38671/test-case-...
And I can't quickly find the links that were the stories I found most compelling, the ones with the enormous social consequences. The questioning of what "really" happened. Getting smeared as crazy, a bitch, manipulative, etc, etc.
It's great when people who are already traumatized willingly go through that. But it's a great deal to ask of someone in that state.
It's the whole reason presumed innocence is a cornerstone of every modern justice system.