pub fn get_crate_name(sess: &Session, krate_attrs: &[Attribute]) -> Symbol
Compute and validate the crate name.