Barrel identification