is not the pokemon's ID number, is the person who catch that pokemon's ID number
The ID number of any Pokemon is given to it by the trainer - namely, you. Your ID number is given to every Pokemon you own. So, no specific Pokemon has any specific ID number. It is the trainer that gives the Pokemon the unique ID number.
Every Pokemon in the game could have that ID number. The ID number is not assigned to an individual Pokemon but rather to an individual trainer. Every Pokemon a trainer catches will have that same ID number. Thus, if the trainer with ID 00081 catches every Pokemon in the game, every Pokemon could have that number.
Pokemon have the same ID number as their origanal trainer.
Mewtwo's Pokemon ID number is #150 in the national Pokedex.
That is your trainer's ID number.
there is no Pokemon with the number 38226
That's your trainer ID number, not a Pokedex number. You would need an ID number of 13944 to get a Pokemon with that trainer ID number. Pokedex numbers range from 1 to 721.
That's your trainer ID number, not a Pokedex number.
That's your trainer ID number, not a Pokedex number.
That's your Trainer ID number, not a Pokedex number.
You cannot change your ID on any Pokemon game, let alone Pokemon Diamond. When you buy the game, the ID number is the number you get, you cannot change it.