output sentence id