The law is not that rigid. As long as it  is clear who the person is and there is no real question as to her identity or yours, the fact that a wrong name or an older, no longer used, name was used in the paperwork will not invalidate the prosecution or result in dismissing the charges. The issue is whether the correct parties can be identified, not whether or not (so to speak) every i is dotted and t crossed. If you maintain that there is some real question of identify--e.g. that you don't even know this woman, so you could not be the person accused of hurting her--that's different; but if it is really her and it's really you and the only issue is the paperwork is using her maiden name, that does not make a difference and will not dismiss the case.