where ,i can to find the secret id for the pokemon event for that they are completely legit
I think the secret id you see is created from the original trainers id. Thus they are linked together. I guess they check both id, do some math magic and if the values do not match then it is a "hacked pokemon" otherwise it passes a test.
Explain what you want to do with this, might be able to help.