@anna I don't personally know noone, but they'll be forced to do it at the very least for our SSN number, which is an alphanumeric string with a binary gender coded inside: https://it.m.wikipedia.org/wiki/Codice_fiscale
The code is assigned even to simple immigrants and it's needed at least for tax and healthcare purposes.
It's not a secret (opposed i.e. to the US' one) and generable starting from name, surname, date and place of birth, so you can do it yourself here for example: https://codicefiscale.com/