add id field to ChildRef
encode id into content identifier
add optional long id to parent ref