yes, it is based on party.  That is because individual MPs generally are not free to vote their conscience as they would as municipal politicians.  It use to be different in the US, but now, things break on party lines more and more.  Sad really.