I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an I
You could use a second associative array that maps human readable names to the id's. That would also provide a Many to 1 relationship. Then do something like this: