During the account creation process this method will be invoked and will populate the public_id, which will then be sent to Solitude here:

https://github.com/mozilla/zamboni/pull/2003/files#diff-487cfc91410e0ad7b7ea376f6068651dR62