Easy peasy connection to make even with luggage assuming no major delays.
Even with immigration and collecting luggage (assume this takes around 30 mins from landing, if unlucky 45 mins). The walk over to T2 check-in should be 8-15 mins depending on luggage and your pace. You will be at check-in line within an hour of deplaning BA31.