In the TNG episode Justice, there seems to be a problem with the way the transporter is being used, and I was wondering if it's an error in the episode or my misunderstanding.
Picard, one of the Edo women, and Troi beam up to the ship. Both Picard and Troi have their badges, the Edo woman obviously doesn't, but everybody is safely transported to the Enterprise. It's been established and shown, although it might be more difficult, the transporter can lock on to someone without a badge and beam them up.
Later on however, to prevent being attacked, Picard orders the Edo woman be sent back to the planet, only this time he gives her his badge so the transporter can lock on to her and beam her down (he also says engage instead of energize).
Shouldn't it be easier for the transporter to lock on to someone with or without a badge on the ship? In subsequent episodes the transporter locks on to people in different parts of the ship and beams them off (badge or no badge).
I can only assume that because this is episode 8 of the first season, all the technology hasn't been worked out by the writers.