Is there anyway to create an ID after someone registers

I would the the person who registers to receive a unique numerical ID. So after they register the page would say something like “welcome, here is your challenge ID.” This would be something different than their username. Is this possible?