Cache nonterminal lookup.