Yes, taunting indeed makes a difference, but this does not work on normal or story missions.
Use communication option 4 to taunt a friendly ship. Even friendly merchants will attack you, if you just repeat it often enough!
More interesting: As far as I remember you can use communication option...