If you go back to *why* UBS is being asked to turn over account names, you won’t be as angry at the IRS.
UBS was complicit in smuggling assets, creating sham tax shelters, conspiring to break the law. They did not just offer legal ways to avoid taxes – they offered ILLEGAL ways.