Yes, that's precisely what I'll do. I don't know why I didn't think of using a hash. As I say in my other post, I guess I was too close to the problem to see the obvious answer. Thank you for taking the time to respond!
Re^2: Is it possible to get reference to scalar based on scalar name