This is not a refactor, lipstick used to get scopeIDs by traversing the SVG.

This way is faster, and more modular