Is there any way to have "sectioning" commands (`\section` `\subsection`, etc) create *automatically* a link with a specified symbol to their parent sectioning item?

Illustration below

![](https://i.stack.imgur.com/ZYuSS.png)

The underlying code for the above

```
\documentclass{article}
\usepackage{lipsum}

\begin{document}

\section{Section 1}
\lipsum[66]

\subsection{Foo}
\subsubsection{Smaller 1}
\lipsum[66]

\subsubsection{Smaller 2} 
\lipsum[66]

\subsection{Bar}
Some text.

\end{document}

```