mcs2: use protocol for composing the locoID