Customizing the affiliate reference code

Hi,
Would like to know if I can change the "/?ref="
for a "/?s=", and where to go to apply this change.
Thanks