first cut
refs #341: handle note with labels
refs #341: handle attributes before label
refs #341: cleanup expression test; hat tip to marvin