Passing in correct app id to allocate ids call
Merge pull request #490 from jovanchohan/appid_fix

Passing in correct app id to allocate ids call