When initializing a datastream, autogenerate a dsid if none is supplied

This avoids a deprecation warning in rubydora. Fixes #367