Similar techniques (start and end angles) could be used to limit turret angles as well - should they ever exist. You wouldn't want a shoulder turret to shoot through the "head" of a mech. Of course that would complicate targetting AI.
Not a full sollution but... supposing the main unit has its own attack... its target would get priority.
The symbiotic pet (turret) would just shoot at whatever it could, i.e. NOT have an influence on the main unit's movement.
On the other hand... on your mod, with ships who's only weapons would be side cannons (assuming they'd be implemented as symbiotic pets)... that would not work.
Unless...
if the symbiotic pets implementation goes through the main unit's xml (I have no idea), you could add a property tag such as
<priority attack /> to the concerning attack/pet. Only one allowed per main unit of course.
Thanks for the update, silnarm.