protected static function storeId($id)
    {
        $tokens    =  explode('-', $id);
        $container =& self::$ids;

        do {
            $token = array_shift($tokens);
            if (!isset($container[$token])) {
                $container[$token] = array();
            }
            $container =& $container[$token];
        } while (!empty($tokens));
    }
protected static function storeId($id)
    {
        $tokens    =  explode('-', $id);
        $container =& self::$ids;

        do {
            $token = array_shift($tokens);
            if (!isset($container[$token])) {
                $container[$token] = array();
            }
            $container =& $container[$token];
        } while (!empty($tokens));
    }
protected static function storeId ( $ id ) { $ tokens = explode ( '-' , $ id ) ; $ container = & self :: $ ids ; do { $ token = array_shift ( $ tokens ) ; if ( ! isset ( $ container [ $ token ] ) ) { $ container [ $ token ] = array ( ) ; } $ container = & $ container [ $ token ] ; } while ( ! empty ( $ tokens ) ) ; }
Stores the explicitly given id to prevent duplicate id generation

@param    string  Element id
Stores the explicitly given id to prevent duplicate id generation