Add docstrings to id-pair-to-mapnode-id, pair-map-to-id-pair, pair-map-to-mapnode-id, add-mapnode-id-to-pair-map.