Hi,
The issue is a general one, as you can see. I think the most reliable way to avoid glyph clash issues is using the img tag as described in one of the answers. Does that not work for you?
If you know in advance which images go into the same page, you could also use a simple regex to prefix glyph ID's with image-specific codes prior to rendering them, but that seems somewhat ad hoc.
SVG images in indigo are generated by the cairo graphics library and we don't really have direct control over the ID's. It is possible to post-process the files and randomize the glyph identifiers, but given that the tool does not know in advance which specific images will occur in the same page, it would have to try to generate globally unique identifiers, which is bound to produce occasional clashes still.
Greetings,
Mike