xpath.py: set_id(): When creating the id_path, deepcopy() the id_elem because its keys will change in the main copy
xpath.py: set_id(): When creating the id_path, deepcopy() the id_elem because its keys will change in the main copy