Indicating or recording positions or identities of vehicles or vehicle trains