If a ship has identical primary weapons with different fireArcs (say, one on the port side and one on the starboard side), the AI should select whichever weapon has its target in that fireArc. Currently, it will stubbornly keep facing the same weapon at its target to the best of its capability.
(Song: Yes, I know you have issues with weapon selection by the AI. Make your own ticket about those. ^.~ )