Fix getIdByUsername, change _baseUrl

stray ['data'] creeped in to line 816, change _baseUrl to the current API root
Merge pull request #53 from charlw/patch-1

Fix getIdByUsername, change _baseUrl