returns the tab's index
new usage
var ind = myTabbar.tabs(id).getIndex();
deprecated from version 4.0