why would the ID be important...the cap usually fits with its OD....into the ID of the hub.
as a side note: I just fought with some grease caps for a month...I lost my bearing buddy... I bought a pair of dust caps... it really didn't want to stay on..i suspected the id of the hub may have worn or flared, or corroded....the cap last one trip.(one way)..I installed the otherone...it lasted one trip!!!. I bought another heavy duty cap...it lasted one trip!!!!!!!!!!! grrr... made an aluminum one at work...heavy duty wall!!...it lasted one trip!!... then I thought, maybe something else is wrong..I jacked the trailer up and found there was a little play on the wheel bearings... ( they never got warm in use)... and tighted them, put a regular dust cap on. and it has made the last 6 trips!!...
just a thought. to check the wheel bearing play...if you are losing your dust caps
bob