They write it down.
It's in a database . . . there's no "remembering" involved.
Your tax identification number is also known as your social security number that will be found on your government issued social security card. If you do not have a card or don't remember your number, you can apply for a replacement card with your local Social Security office.
Social security number
Social security number
Social security number
Social security number
Social security number
Social security number
Social security number
Social security number
Social security number
A number issued by the government through the Social Security Department is the Social Security Number (SSN). This unique identifier is used to track individuals for Social Security benefits and taxation purposes. It is essential for various financial and legal transactions, including employment and applying for credit.
As you ask, it is not possible if someone try to fing general background can find Social Security number. Only Social Security Authority or Government Authority can find it if it is needed or you requested it.