This makes the stakes for getting caught cheating, much higher. It does nothing to "solve" cheating. If someone is using additional code to gain an un-fair advantage, knowing who they are does nothing to detect this.
At the end of the day the goal isn't 0 cheaters but having few enough that the chance of your match being ruined by one is 1 or 2% instead of 10 or 20%