Patterns such as bar codes or distinguishable line or object orientations can be used to encode the structure 222 (and thereby the instrument 60), allowing each different type of instrument to be recognizable via pattern recognition algorithms implemented in the processor 42 and the computer 44.