A function call stores a resolved function after ResolveIdentities.
If the identifier cannot be resolved it must be returned.
Added basic type resolution and debug output.
Set the function that the prototype points to.
Check # of function parameters. Use NULL for unresolved references.