This is probably known to many, but you can set a variable with a dynamic name. I've only come across one or two instances in ten years where this is necessary. Those times have always been to quickly fix existing code and remove hard-coding of variable names.
There's always 10 ways to get to the same destination with programming, and I usually don't take this one. However, it is an option, so I'm demonstrating it here.
An example is perhaps when you need to set a variable for each student (Mark_classes, Tom_classes), and then assign a value to that new variable. This can be done with the code below:
<cfset "#myQuery.Name#_classes" = myQuery.numberOfClasses>
Just be sure to put the quotes around the dynamic variable name.