Detect any illegal graph node notation.

Addresses #456 in particular: fail foo:x[T-n] (should be foo[T-n]:x).

@dpmatthews - this is one that fell by the wayside; please review.