Why it is important for this to be an OrderedDict? Does the order of the ids matter? Perhaps a comment is in order.