analysis: give error on non existing role type (reverse order of use and def of names)