A robot arm comprises a mounting portion configured for mounting in a socket. The mounting portion comprises a reader configured for reading location identifiers. A signal output from the reader allows determination of the location of the robot arm. The location identifier may be a barcode or a QR code.