ExecuComp gives each executive an id (EXECID) that is permanent and may allow you to trace a person across firms changes (i.e. from an acquired firm to the acquiring firm). There is as well company-exec ids (i.e. company specific). The data is not perfectly clean however and not all company changes can be tracked this way.
You can read more in the 'Overview of ExecuComp' in the 'Support' section of the WRDS website and you should reach Compustat for further details on this set (located on the Vendor List page located on the WRDS website).