public function getStackKey($val = null, $section = false, $stack = null, $default = null)
    {
        if (!empty($val)) {
            if (!empty($stack) && $this->isStack($stack)) {
                $tmp_stack = $this->registry;