Tagged locomotive