m_TagManager.GetTagsInRange seems to filter out players that are not in the same faction as the player. It would be useful for custom game modes to control this via script.
For example a sub-class of SCR_NameTagRulesetBase could have a DetermineFilter(IEntity entity) override with a default implementation that checks the faction, so we can override that in a custom nametag ruleset