Sets vendor id correctly.