Court case on the right to anonymity makes liberals, conservatives unlikely allies