Let's say you're an American citizen abroad and you have lost your passport. You go to the embassy and you need a new one issued in order to get home.
How do they verify your identity? Social security number + driver's license? Or do they have some kind of computer system where all the info is stored?