Also, this return statement means that the app name is retuned as the id, and *not* the key generated from it -- is that intentional?