Generate rid for dataset who does not carry dataset_id (come from local DBS isntances)