I'm not sure if you're asking what the ID's of those Pokemon are or what an ID is in general, but every trainer has an ID and a secret ID, as well as the Pokemon they catch or breed. The secret ID determines if the Pokemon is shiny or not.
>While it is common knowledge that each trainer has an ID, it is somewhat less known that he or she also has a Secret ID which is hidden away. Like the Trainer ID, this Secret ID is also recorded on each Pokemon a Trainer captures or breeds. This Secret ID is used in the equation which determines whether a Pokemon is shiny or not.
Hope I helped.