You know where your ID is on the trainer card? When you activate the SID code, hold L then press "A" on the trainer card, then flip the card and your SID will be there instead of your ID. Or I/someone else can help you figure that out but I'll be a bit busy (trying to practice RNGing in the 4th gen)