Couldn't this be `return 'id' if base_name.blank?` since both `nil` and `""` return true for `blank?`