Identification of carriers, materials or components in automatic analysers