There is only the well-known app ID. In the event that an app needs to be renamed, the existing one can retired with a link to the new name (eol-rebase).
Flatpak will offer to install the new app upon install or update, and it will rename the app’s data directory in ~/.var/app/
. For automation, --assumeyes
will make it follow the rename automatically.