public function domClass($recordOrClass, $prefix = null)
    {
        $singular = snake_case(camel_case(preg_replace('/\\\\/', ' ', $this->modelNameFromRecordOrClassname($recordOrClass))));
        return $prefix ? $prefix.'_'.$singular : $singular;
    }