public static function className($className, $namespace = null)
    {
        // If passed class exists - just return it(without autoloading)
        if (class_exists($className, false)) {
            return $className;
        } else if (strpos($className, '\\') === false) { // If class name has no namespace separator
            // Add namespace to it
            $className = $namespace . '\\' . $className;
        }

        // If this is an old PHP version - remove namespaces
        return __SAMSON_PHP_OLD ? self::oldClassName($className) : $className;
    }