I see, I definitely failed to understand how you scripting language worked before your post.
Let me check my understanding: If use a float in the scripting language, any referencing action looks up the value associated with the passed integral id?
If this is so, it's an interesting way of doing it, I am very curious to see how it will perform (I don't expect it to perform poorly, I simply don't know what to expect).