How do I store URL parameter in user registration field?
Using hook_form_alter you can set the default value of your field to be this query parameter. 

function MY_MODULE_form_alter(&amp;$form) {
  $q = drupal_get_query_parameters();
  $form['parameter_field']['default value'] = check_plain($q['aid']);
}