Home Secretary Shabana Mahmood is said to have been inspired by Donald Trump's hardline homeland security secretary.