private static Selector evalOf ( Selector arg ) { if ( arg . getNumIds ( ) > 0 ) return arg ; return new LiteralImpl ( Matching . getEvaluator ( ) . eval ( arg ) ) ; }
if the argument has no identifiers