You left out the ending: now we do have an unified national ID document (under gradual adoption, it'll be a few years until it's required), and its number is that tax ID (CPF).