We can just add the tax ID column to show their SSN or EIN. Though, this will show you not only your contractors but all your vendors, we can export it into an Excel file. From there, we can manually remove all the non-contractors.
From the Reports tab, search and select Vendor Contact List.
Select the small gear icon and check the Tax ID box. Check also the other information you want to add.