Concept:
Raga identification is often based on special swara phrases.
Each raga has a characteristic swaravali or pakad.
Step 1: Match phrase A.
The phrase:
\[
R\ G\ R\ S,\ N\ S\ D\ N\ R
\]
is associated with Jaijaiwanti.
\[
A \rightarrow IV
\]
Step 2: Match phrase B.
The phrase:
\[
P\ M\ G\ M\ R\ G,\ D\ M\ G\ R\ S
\]
is associated with Puriya Dhanashri.
\[
B \rightarrow III
\]
Step 3: Match phrase C.
The phrase:
\[
S\ M\ M\ P,\ G\ M\ D\ N\ \dot{S}
\]
is associated with Bahar.
\[
C \rightarrow II
\]
Step 4: Match phrase D.
The phrase:
\[
S\ R\ S,\ G\ M\ D
\]
is associated with Hamir.
\[
D \rightarrow I
\]
Step 5: Final matching.
Thus:
\[
A-IV,\ B-III,\ C-II,\ D-I
\]
Hence:
\[
\boxed{\text{(D)}}
\]