In modern thermonuclear fusion devices it is possible to distinguish distinct types of plasma confinement regimes which have different performance in terms of confinement time. Discriminating among them could represent a useful feature for an efficient control of a plasma experiment. An automatic identifier based on fuzzy logic is here proposed together with an unsupervised technique, using classification and regression trees, for selecting, among several diagnostic signals available, the inputs to be provided to the identifier.