Replace Application object attribute "id" type cast from int to str.

Some (private channel) application id's fail int cast. Previously threw exceptions.