I'm not sure if this is the right place for assigning an id. Right now I just need it on the front end, although for sharing I assume we'll need an id from the backend. Maybe that's what `url` is supposed to be though?