Gets the single function named name.
if no function with that name exists.
if more than one function with that name exists.