Attribute now can has decoders

Attribute becomes a subtype of CodecDescriptor
Use descriptor instead of XML id for internal id
Content now can have decoders
Some docstring for CodecDescriptor