It's about how they are represented in the CAD software. A motor starter is a single object, with a contactor element and a coil element. Each element of the object is represented by a separate symbol. The tag for this object is 507MS and is applied to both symbols. The symbol would usually have the terminal numbers on them as well, like the control relay to the left in the second picture (assuming CR is control relay). The device type designation can be whatever you want, but is usually standardized within an organization. In this case the designer used MS for the contactor/coil device.