The command /bgii will show a window with all the items id of the character currently has in the bags.