bug fix: new model objects should set the document ID property