This logic is wrong. Ids have to be unique on the page. but feature names and scenario names are not unique