Actually as I started writing, I came up with more questions, since I don't know your details.
If each behaviour is in a Family and sets it's own specific variables, why aren't those variables on the family? Then there should be no need to index them.
If that doesn't work, then getting back the the array idea, if you just have the single base object, then you can create a 5x2 array and use a container to connect the array to each instance. If there is more than one base object (grouped by families again) then you'd have to create the array object, store it's UID, and pick that array, by UID, when needed. This is obviously the most cumbersome mechanism.
Excellent, now I don't have a massive experience with loops, so bear with me, do I call each of the behaviors with a "for each" and if so, I can't use loopindex, so what's the proper way of calling these different instances of the behavior?
Just wanted to clarify, I think I've got my wording of behavior a bit wrong, I meant object/plugin Same thing, really though.