i remember seeing Illustrator-exported SVGs containing all kinds of weirdness, unless you configure it explicitly just so. Your best bet for SVG is still a text editor, where you would be able to see and edit the exact ids and of course the contents.
So maybe open the original SVG and your exported thing side by side and I’d start by applying changes one by one, until you’ve got a feel for what works and how.
For more details, read up on svg. it’s very powerful, but I don’t remember us knowing for sure what’s supported. The IDs in the SVG document are mandatory, they’re used for targeting the elements to change, and have to stay the same.