Added toString method to Attribute