Retrieve a variable from its name. If multiple variables have the same name, this routine chooses one arbitrarily.
Arguments:
name: The name of the desired variable.
Return value:
The requested variable.