# Referencing line numbers in an algorithm using autoref

What is the autoref command to reference a line number of an algorithm? I tried to define stepautorefname, linenoautorefname and alglinenoautorefname commands as shown below but they don't work like the algorithmautorefname command.

\documentclass{article}
\usepackage{algorithm}
\usepackage{algorithmic}

urlcolor    = blue,
citecolor   = blue,
anchorcolor = blue]{hyperref}

\newcommand{\algorithmautorefname}{Algorithm}
\newcommand{\stepautorefname}{Step}
\newcommand{\linenoautorefname}{Line}
\newcommand{\alglinenoautorefname}{ALine}

\begin{document}

\begin{algorithm}
\caption{Algorithm} \label{alg:A}
\begin{algorithmic}
\REQUIRE $Input$
\STATE A
\STATE B
\STATE C
\STATE D \label{step:A4}
\end{algorithmic}
\end{algorithm}

In \autoref{step:A4} of \autoref{alg:A}
\end{document}


Package hyperref Warning: No autoref name for ALC@unique' on input line 32.
So the command name prefix should be ALC@unique. We then only need to make sure the @ character is allowed in command names and can define
\makeatletter
`