When looking to identify what's the team name based on the hubspot_team_id, you can look at the property details:
At the top right hand corner of your HubSpot corner, click on the 'Settings' icon > At the left side panel, click on 'Properties' > Search for 'HubSpot team' > You should see the 'HubSpot team' property > Hover over, click 'Edit' > There will be a panel on the right side which should look somehting like this:
Currently, the HubSpot APIs doesn't support the retrieval of team ID. Having said that, I'd strongly suggest for you to give this similar idea an upvote and comment on it so that it's visible to the HubSpot product team and other HubSpot customers and developers. Hopefully this will gather more interest.