From my experience against NPC pilots while in the sidewinder I suggest the following:
Federal Fighter - They don't usually go for head on passes, because if you hit them a few times at range they disengage.
Eagle - They love the head on pass, a sidewinder in good condition can usually drop their shields and do some hull damage on a pass without losing shields
Cobra - Not very maneuverable, so it is unlikely you will get in to a head on situation, just move to their back
Lakon - Nope
Annaconda - Double nope