Added API function for getting a token id.
Released version 0.1.1.