Adds IDs to the scan statistics table.