It won't stop illegal working
If anything was supposed to stop illegal working, then the PAYE system and the requirement for an NI number would already be doing this. It isn't because companies are perfectly willing to hire illegal staff.
Has our government once more completely missed the point? Surely not ... cough.