Change string tracker id to ForeignId struct

SPOT is the only accessed system so far.