IdentityMatrix

IdentityMatrix[n]
gives the identity matrix with n rows and columns.