Add crate_id

pkgid has been renamed to crate_id. Keep both for now, for compatibility
reasons.