Check if input expression is a 'path expression', i.e. an identifier or a sequence of field accesses starting from an identifier.
A path expression to check.
An array of identifiers or null if the input expression is not a path expression.
Check if input expression is a 'path expression', i.e. an identifier or a sequence of field accesses starting from an identifier.