<handle> get_attribute ?-type string? ?-default <def_value>? <obj_name> ?<att_name>?
Returns the values of one attribute. If att_name is not given, it returns a dictionary of all name value attributes that the object contains.
if option -default is given, when attribute does not exist, the default_value is returned. Otherwise, an error is returned
-type is by default set to string