resolve duplicate xml id