This function retrieves a function from a list.
get_scale(x)
The function retrieved either directly from the list or from the global environment.