classifying table name before constantizing