There are places of employment where having your name attached to a patent is only barely optional. They hire "patent experts" to go around and figure out what is supposedly patentable with little to no input from developers and then have the "inventors" who touched those bits sign off on it (thus having their name attached to the patent). And of course you don't have to agree to this, but not agreeing essentially comes in the form of quitting or at least creating a schism that didn't exist between you and your manager and/or team.
While there exists a group of developers whose geographical situation and years of experience allow them to easily quit over such matters, there are plenty who aren't so lucky.
So while I am very much against software patents, I only support "naming and shaming" when it comes to those who are initiating, publically supporting or otherwise directly involved on the offensive side of patent lawsuits.