A British national has been arrested in Nairobi over the bloody attack on a shopping mall by Somali militants, a spokeswoman for the Foreign Office says.