Handle missing identifier fields when creating new related entities. Resolves #34