[Tex/LaTex] Cleveref cref problem with counters: use ‘theorem’ for all other labels in new ACM template

cleverefcross-referencing

The new ACM template has introduces new environments like 'example', 'definition', etc. Now you can write:

\begin{example}
\label{myex}
Assume BLA BLA
\end{example}

and the output should be:

Example 4.1 Assume BLA BLA

But if you use \cref{myex} to cross-reference it, that would appear with 'theorem' label instead of 'example':

In \cref{myex}, we explained BLA BLA

the output is:

In theorem 4.1. we explained BLA BLA

I don't want to modify the main .cls file, instead I'm trying to renew comments or so.
I tried a few tricks including this but didn't work out.

Update:

The minimum compilable code:

\documentclass[sigconf]{acmart}
\usepackage{cleveref}

\Crefname{example}{Example}{Examples}

\begin{document}
\begin{example}
\label{myex}
Assume bla bla
\end{example}

In \cref{myex}, we show 
\end{document}

Best Answer

Solution [suggested by christian-hupfer]:

Specify the counter that you wish to use, by overruling it while using the \label. Like this:

\label[example]{myex}

Similarly, if you are using another environment (e.g. 'definition') you can overrule the counter like this:

\label[definition]{mydef}
Related Question