Thought and recoded how NPML references work. The are now resolved after
the Plan is completely parsed. This allows for more comprehensive error
reporting during Plan validation.