fix(dynamic_parser): Handle reserved words correctly.

Make sure the dynamic parser deals with reserved words correctly and in a way that's consistent with how they behave when using code generation.