Exclusive OR function called 'preferredName'

lets remove the script tags if you dont mind.