Remove namespace on datatype to target model id

Without this modification, $n[0]->dataType or $r->dataType return the className with Namespace and it can't be handle as class but object because the model id have already removed Namespace.