Adding ID to history tab items