AppId and AppName

Hi everyone, 1. I am wondering why in TeamServer API, we use AppId (Subdomain name of an app), but in MendixSDK, we use AppId as a long hashed string. Why doesn't Mendix use only one AppId? (I guess that the Subdomain name could be not uniqued but we could use the second AppId in both cases, now it's kind of confusing) 2. Another question is that, how to calculate the AppID used in TeamServer API? For now, we downcase of all characters in AppName to get that AppId but we are not so sure if that is the right way. (e.g TestProject -> testproject) Best regards,
1 answers

Aren't they one in the same and the information can be found in the "General" Section as pictured below?