Simplified function name lookup.

Allow recursive calls but otherwise have to declare callee before caller.