Wanna Create a Stylistic Set Automatically with unconventional glyph naming

HI! I have a font with lots of different stylistic sets. I have given glyphs names like a.biglead and a.littletail to help me remember what each glyph is. (In case you are wondering, a.biglead has a big swoopy element before the letter and a.littletail has a little bit of flair after the letter.)

Anyhoo, I would like to assign the ss02 stylistic set to “.biglead” and ss03 to “.littletail” and I would like to generate the stylistic set feature automatically. I tried calling the glyphs a.biglead.ss02 and a.littletail.ss03 but that didn’t work.

I know could just call the glyphs a.ss02 and a.ss03 but I would really like to retain my biglead and littletail naming in there if possible.

MANY THANKS
Jane

You need to write the feature code yourself.