[Michel & Dragan]
Split AttributeSyntax into several small classes.
Fix AttributeTypes.
Fix unit tests.