Format tunnel IDs consistently.