Set valueTagClass and valueType properly for CRIAttributes.