It can vary, sometimes, it's a case of the player who was being banned had their IP on someone else's account a lot (aka a friend's account, not really theirs, but they logged on a lot, or a significant other). So because their ip touched it so often, we banned it, then it just takes the player who actually owns the account to verify it is theirs.
Sometimes it's more complicated, sometimes it's even easier.