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.