fix Issue 8959 - IsExpression should support syntax which has no Identifier in all cases
Apply code simplification that is pointed out by Andrej Mitrovic
Merge pull request #1255 from 9rnsr/fix8959

Issue 8959 - IsExpression should support syntax which has no Identifier in all cases