Add GetId from kml document element, and generate if it does not exist