@pfefferle @evan @trwnh @johnonolan
As I <remember> the specs, they state that ID's may be omitted if it is sufficient for an object to exist that is embedded in a parent object that has an ID.
Edit: See https://www.w3.org/TR/activitypub/#obj-id
But then you probably should set it to null.