when an HTML page contains multiple SVG elements, the items within the DEFS element for each SVG element must have IDs that are unique across all SVG elements in the page. We auto-populate the defsKeyPrefix attribute to help ensure that unique IDs are generated.

Is the best (or ok) way to handle this to call setDefsKeyPrefix() with a different string for every SVGGraphics2D we create?