Accept a symbol as the datastream property for has_attributes. Fixes #308