FunctionAnalyser: add isLHS argument to analyseExpr
analyser: check LHS for assignablitily