update RBScanner>>scanIdentifierOrKeyword with support for enumerated path terms and selector path terms