Tagged endoscopes