I have two arrays: one that contains ids and data values and one that
contains ids and names. There is a relationship between the ids in the
two arrays. How do I create a third array that contains names and data
values? This is basically a lookup to replace ids pulled from a
database with a readable name.