This image shows selecting P8_DEPARTMENT_ID in the Rendering tab, and entering 'Department' for Label in its property editor.