That is one way to be able to solve the problem, but the most direct way to solve the problem of credit scams is to put the onus on the bank who opened up the account incorrectly to assume responsibility for the debt, not on the person whose details were spoofed to create the account.
This is quite humorously illustrated by a "That Mitchell and Webb Sound" skit: https://www.youtube.com/watch?v=CS9ptA3Ya9E