You can find out which Apple ID this is if you're unsure under your iPhone's Settings App > Messages > Send & Receive.
You can do this on your Computer's Messages app under the 'Messages' Menu Item > 'Preferences.' > Accounts > '+' Sign into the iMessage account that is your current active iMessage Account on your iPhone. Assuming you have an iPhone running one of the latest builds and a corresponding Mac (up to date):