In making a diagram in the newest version of illustrator, I noticed that the layer name was not necessarily in the id attribute of the exported SVG, but rather the data-name attribute. That should be added as an option here:
|
popTreatmentFromAttr('id') || popTreatmentFromAttr('name') |