Any refid from the basegame is usually available on fan wikis. If not, you can use help [name] 4 and that can also get you pretty far. Now, mods, that's a whole other story. Sometimes they have a pretty extensive list of codes on their Nexus page for example, but not always.
Edit: oh and yeah, I mainly just wanted to gawk at the piles of bodies I left in my wake lol