implement lexical rule for quoted term names