You created a potential problem for a matter that could have easily been dealt with. You should get an attorney an discuss this further - rather than on this board.
Do not post further information. Do not speak with law enforcement about this incident (or anything else in the future - next time present them with proper ID and refer any questions to an attorney). Don't talk about this incident to anyone except a criminal defense attorney. If law enforcement approaches you about this incident, do not say a word. Again, hire an attorney asap.
What a tangled web you've weaved... You've created a very difficult situation for yourself. When you receive the ticket in the mail, contact an experienced criminal defense attorney in the area who can sit down with you and help you plan out the best way to deal with this.
Do not post anything else on a public forum. Your communications with your attorney are private and will help you.
Good luck with this.