Here are two ways to get the identity matrix.
In[1]:=
Out[1]//MatrixForm=
In[2]:=
Out[2]//MatrixForm=
See also DiracDelta.