Variable Names with Subcripts?

If I have a variable, I’m trying to reference the variable in CL & in the graph itself & in the graph, to make it appear on a label. I know sometimes we have to use underscore and sometimes {}, but can’t figure out the combo. Thanks!

variable: a
CL:
Graph:
Label:

variable: a_b
CL:
Graph:
Label:

variable: a_bcde
CL:
Graph:
Label:

variable: a
CL: Try something like number("a"): .....
Graph: No special formatting needed
Label: ${a}

variable: a_b
CL: number("a_b"): .....
Graph: Type a_b
Label: ${a_b}

variable: a_bcde
CL: number("a_{bcde}"): .....
Graph: Type a_bcde
Label: ${a_bcde} or ${a_{bcde}} should work

The rule I always use is that if a subscript is needed, use an underscore. If there is more than one letter needed for the subscript, then use braces around everything that should be in the subscript.

Thank you! Thank you! Thank you!