That example is also apples and oranges. Given that a passport is much more expensive to make, has a ton of infrastructure mandated by international agreements, treaties, and standards, and is decidedly optional for the majority of people and it makes total sense to me that it would not be free. None of that is true about SSNs, and none of it would necessarily need to be true about a national ID.