Parenthesize macros. Microoptimize IDL search. Use RANGE_<FIRST/LAST> when IDL is known to be a range.