Are you flying from UK and changing planes at Istanbul or are you starting your journey at Istanbul? If it is the first then you will go through passport control in Istanbul and although you are on a domestic flight you will be bussed from the domestic terminal at Dalaman to the international terminal which is where your luggage will come off. At least that is how it used to work up until.the new terminal building opens.