properly identify class attribute