SWORD: track object_id at item, not root, level

The location where this is needed only has access to individual item
records, not the root level.