The solution to fighting the anonymity of others is to gain anonymity of your own. It's paramount to the gun control argument.
Strip everyone of anonymity and the only ones left with it are those who seek to do harm, and the majority are powerless to defend themselves.