I have the following code
\documentclass{scrreprt}
\usepackage{hyperref}
\begin{document}
\part{First Part}
\chapter{First Chapter}
\label{inner} Some text.
\part{Second Part}
\chapter{First Chapter}
\ref{inner}
\end{document}
that produces a reference 1 for the label inner. How can I include the number of the part associated with the chapter in this reference, i.e. automatically create a cross-reference of the form I.1?