Rename this to something like `escape_fields` since it is very limited form of expression, only `var` and `var.field`. `escape_fields` is not perfect since it can include plain vars also, so if you can find a better name than `escape_fields` please use that.