thanks for the info but I just checked my es_systems.cfg file but there are no platform ID numbers – for Vectrex or any other systems either.
here is the entry for Vectrex
<system>
<name>vectrex</name>
<fullname>Vectrex</fullname>
<path>~/RetroPie/roms/vectrex</path>
<extension>.vec .gam .bin .zip .VEC .GAM .BIN .ZIP</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ vectrex %ROM%</command>
<platform>vectrex</platform>
<theme>vectrex</theme>
</system>
and here is the entry for SNES
<system>
<name>snes</name>
<fullname>Super Nintendo</fullname>
<path>~/RetroPie/roms/snes</path>
<extension>.bin .smc .sfc .fig .swc .mgd .zip .BIN .SMC .SFC .FIG .SWC .MGD .ZIP</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ snes %ROM%</command>
<platform>snes</platform>
<theme>snes</theme>
</system>
they appear to both hold the same information.