private function formatEntityType($type)
    {
        $delim = EntityMetadata::NAMESPACE_DELIM;

        if (false === stristr($type, $delim)) {
            return $this->inflector->studlify($type);
        }
        $parts = explode($delim, $type);
        foreach ($parts as &$part) {
            $part = $this->inflector->studlify($part);
        }
        return implode($delim, $parts);
    }