Using just the node tag to differentiate function and method calls