Ship IDs can be read by hovering over a ship in the fleet window.If a modded starting system was not used, the player's empire will always be 0.
Empire IDs can be read by hovering over an empire's flag in the contacts menu or its borders on the galaxy map.If a modded starting system was not used, the player's starting leaders will always be 0 (ruler) and 1 (governor). Leader IDs can be read by hovering over a leader in the leaders or empire menus.If a modded starting system was not used, the player's species will always be 1 for the main species and 2 for the syncretic/cyborg/bio-trophy/prepatent species. Species IDs can be read by hovering over a species in the species menu.Species, leader, empire and pop IDs however are defined when the game is created and have to be found with the debugtooltip command. Most IDs are predefined and can be found on the ID page.