merged AttributeValue class into Attribute class