get feature names from pipeline