Navigating AI Identity Crisis: Securing Agents at Scale