If you see the .g file we are adding the index position i.e. the literal between the square braces as the Node.  So if i say 
function(ARRAY_ELEM, n), then this will have only the index.  The colname is not available there.  Hence from the identifier I create a node and add it to the list.