code: static public function doctrine($tableName, $field, $length = 16)
      {
          do {
              $generate = self::generate($length);
          } while (self::doctrineQuery($tableName, $field, $generate));
          
          return $generate;
      }
docs: Doctrine v1.2 generate method
  
  
  @param string $tableName
  @param string $field
  @param string $length
  @return string
  @throws Extlib\Exception