Added ability to generate DOM Ids unique to parent

This allows relations (which are identified as 'source:endpoint1 target:endpoint2') to have unique DOM ids between bundle visualizations and the environment canvas.