def team_id(team, org)
      /^\d+$/.match(team.to_s) ? team : team_id_by_slug(team, org)
    end
def team_id(team, org)
      /^\d+$/.match(team.to_s) ? team : team_id_by_slug(team, org)
    end
Get the team id based on either the team slug or the team id

 @author Tim Heckman <tim@pagerduty.com>
 @param team [String,Integer] this is either the team's slug or the team's id
 @return [Integer] the team's id