added `create_string` class method to the `Attribute` class for creating a string attribute