Hi, I have to devise an ID naming system that'll support lists that are 4-levels deep. At any one time, I need to know at what level an element is. I have it up to 3-levels but don't know how to do a 4th. In fact, it's starting to look like a mess to me and I think I'm overcomplicating it.
Here's what I have so far: Class ID = 1 Class Name = First Class Now, all subclasses associated with "First Class" are denoted via an underscore character, i.e. Class ID = 1_1 Class Name = Foo One Class ID = 1_2 Class Name = Foo Two Here's the 3rd level. It defines a subclass of "Foo Two" Class ID = 1_2_1 Class Name = Foo Three And here would be the 4th level. It defines a subclass of "Foo Three" Class ID = 1_2_1_1 Class Name = Foo Four. Am I approaching this the wrong way? Can anyone show me a better way to do this? Any tips are very much appreciated. Thank you.

