suppose I have a car lamp with an ID on it,and my car has a VIN(Vehicle identification number) on it,can I compare something in the ID to know if the part comes from the same manufacturer or that part is for that same car at least.
Not with 100% certainty.
Why do I say this?
Well, had a brand new vehicle that I was fitting the radio into and the vin and vehicle spec sheet showed a 4 speed gearbox, even the gear knob had the 4 speed pattern.
On road test and had not noticed but changed up to 5th.... The factory had fitted a 5 speed box... Checked with production at the factory and they said « we must have run out of 4 speed boxes at that instant so fitted a 5 ». This can be a consequence of JIT as the line must continue...
It was really rare though.
Another one can be braking systems some vehicles can have a Bendix while others of same model Delphi...
So, to be sure and certain, you have to check what is actually fitted.