@aescling yes, the numerical id is not a global identifier (the global identifier is this thing called a Uniform Resource Identifier but mastodon doesn't keep track of accounts that way)
@aescling it is theoretically possible to fix this dependency on acct, but it is a lot of work AND it still wouldn't allow username switching if you're interested in compatibility with upstream mastodon
the best way to enable username switching would be by adding an additional property which represents the used username while maintaining the old immutable username for webfinger access, account URL/IRI, and mastodon compatibility
or by adding pseuds, which likewise