automatically generate and assign Onestop IDs

closes #11