if the id field hasn't been set, then we should detect its values based on the related entity and populate its value. So ``` parentId: null, parent: { id: 123, }, ``` would become in the store ``` parentId: 123, ``` the same for sets.