“Massive scale” is a distraction because society is even more massive. For example, if you’re talking about school pensions you have a school system with employees and that means you could do things like have someone check ID in person, and perhaps require a non-relative witness if there’s any question. Doctors offices could similarly be enlisted to certify that person X is the patient they’ve been seeing.
The problem with this is simply that it’s not absolutely free, and the people promising savings through outsourcing need it to be free to make their promises happen. Cutting budgets everywhere removes the slack you need to deal with things like this.