Changes use of VarId to VarPlainId in pattern matching

No need to refuse keywords for VarId
Changes SubstString to ProcessedString

* only parse as one literal for simplicity