fixed scoping in SyntaxBase; derived Syntax classes from SyntaxBase