Gets the application id for a Accessible object.
Only works on application root objects.
this |
a pointer to the Accessible object on which to operate. |
a positive int indicating the id for the Accessible object or -1 on exception. |