put ids in to match hash anchors