doctrine/phpcr-odm — comment on commit 6ca6fe3192c7130697199b86ac66c05a602db5e0
File:  line 0
By dbu:

hm, now i am confused. should we rely on the document having an id field? is it mandatory? why does it need to be mandatory? if i have the name and parent, its enough to define the location.

in 30def91811bd9e310bde1c62cddae970f444b103 you call $class->setIdentifierValue($document, $id); does that mean now we should ask parentCm->getIdentifierValue($parent); and this will work even if the $parent has no id field? does the metadata store its own map or ask the uow again?