Actually, I'd think otherwise. Sorry Blitz :S xD
I was searching through Pokedit and I found out that you can change the OT of your Pokemon - therefore, not all Pokemon from Pokedit will have the OT 'POKEDIT'. It is simply a normal, random name to the game, and therefore it could get through any hacked Pokemon filter, as long as it's legal and all that.
And as for your second question, your game's ID and the Secret ID are selected completely at random. Therefore their (il)legitimacy status basically has nothing to do with their IDs. (Unless, of course the IDs are not six digits long :P)
Hope I helped. :)
Source: Pokedit and Experience