I think duplicate ids are illegal in KML, for now, if an id already exists, just create a guid for it instead.  Later we might through an error.