fix Issue 8959 - IsExpression should support syntax which has no Identifier in all cases
Apply code simplification that is pointed out by Andrej Mitrovic