Sorry if my question title is ambiguous.
I want to write an environment called "problem" that works as follows. I want to be able to write
\begin{problem}{1}{2}
this is a problem statement \label{myprob}
\end{problem}
Look at problem number \ref{myprob}
and get the following output:
Problem 1.2: This is a problem statement.
Look at problem number 1.2.
Any ideas as to how I would do this?



