return id of a newly generated dataset