Extract the value of the node-pointer named NAME. If there is none, use ERRORNAME in the error message; if ERRORNAME is nil, just return nil.