The format below is Name, Race, Perk, Location, Base ID
Cait: Human, Trigger Rush, Combat Zone, ID: 00079305 Codsworth: Mister Handy (Robot), Robot Sympathy, Sanctuary Hills, ID: 0001ca7d Curie: Miss Nanny/Synth, Combat Medic, Vault81, ID: 00102249 Paladin Danse: Human, Know Your Enemy, Cambridge Police Station, ID: 0005de4d Deacon: Human, Cloak & Dagger, Old North Church, ID: 00045ac9 Dogmeat: Dog, Attack Dog, Red Rocket Truck Stop, ID: 0001d162 John Hancock: Ghoul, Isodoped, Goodneighbor, ID: 00022615 Robert MacCready: Human, Killshot, Goodneighbor, ID: 0002a8a7 Nick Valentine: Synth, Close to Metal, Valut 114, ID: 00002f25 Piper: Human, Gift of Gab, Diamond City, ID: 0002f1f Preston Garvey: Human, United We Stand, Concord, ID: 0001a4d7 Strong: Super Mutant, Berserk, Trinity Tower, ID: 0003f2bb X6-88: Synth, Shield Harmonics, The Institute, ID: 0002e210a
If you know any IDs for other companions or have anything to share please comment below so we can add the info.