What is the difference between SID and UID?

In the current implementation of platform security, UID3 is used as the SID if SECUREID is not specified in the MMP file. But