Rename pkgid to crate_id

Closes #11035
Add some things to inspect crate-id's