How to get the tag id from script while running using BDD

I am trying to get the tag id while running the feature file , i can get only the scenario name and not th tag id. Is there any option available to get tag