My advice is not to use the ID number. The guys at the junk yards might not have the oil pans pulled and on the shelf, and sometimes you can give a parts guy the right number and still get the wrong part.
Since you’ve solved the problem in the short-term, I’d consider this quest a long-term project, not something you have to do right away.
I’d call around to see if any you-pull-it junk yards have any second generation (1988-1994) Ford Tempos or Mercury Topazes on their lots. Then, I’d take a bunch of pictures of your oil pan from all sides, print them out on letter-size paper (or put them on a tablet you can take with you), and go to the junk yards that have possible candidates on their lots. Compare the pictures to the oil pans, and if you find one that is the right size and shape, hire someone to pull it for you (or do it yourself if you’re capable).
If you’re lucky enough to find a used parts dealer who has it on the shelf, the pictures might still come in handy. That’s why I always take my old parts to the auto parts store, even if there is no core charge on the new parts. I want to compare the parts before I pay and leave.