It would be nice to be able to make sure that each user has a different referral code instead of their nickname. I mean for example my nickname is bigluke97 but my referral link is hrt72skd0. So that my referral link will be for example: ?u=hrt72skd0 and the system will know it was me(bigluke97), so that only staff members would know who a specific referall code is linked to, but not other users. It does not make it completely anonymous, but at least it does not directly show the username which is much more public.
I honestly see no problem with having the username as a code in the link, but it would still be a very nice privacy-focused idea in my opinion.