A single multidimensional model for discrimination, identification and preferential choice