fixes issue #734 by disallowing user-defined function names as variables