German here. We have a social security number which just serves its original purpose of identifying you for social security.
We have a tax number for taxes.
And we have a national ID card for most other purposes where you’d need to identify yourself.
It even comes with a neat feature where you can use it for online identification and it only reveals just as much information as needed (like are you over 18 or not).