how does processor identify itself

In a multi-processor system how does a processor identify itself, for example, when different processors have different functions? Is there a mechanism that is common across As,Rs and Ms?  I found MPIDR but it is not present in all architectures. CPUID identifies only the CPU capabilities and features.