All you'd need to do is create a hidden user profile field, and when they register you can make register.php set the hidden profile field with the user's name they signed up with
Satan
hmmm
But how do I create a hidden field? I know I can create new profile fields, but those are all editable by the users...