Merchant ID:

From Dashboard -> Profile, you can get the merchant ID(MID)

Profile ID:

From Dashboard -> profile, you can get the profile id, OR you can find it beside the profile name at the top of your page.

Switch between profiles:

At the top right corner, you can switch between your profiles by clicking on the flowchart icon, OR you can also switch by clicking the profile ID at the top of your page.