I do believe in the character settings there is a section where you can enable/disable targeting on any number of things including party/alliance members, pets, npc's and so on. I can't check as of the moment myself cause I'm at work lol