Function TabItemList.indexById

find tab index by id

int indexById(
  string id
) const;