MI5 and MI6 have identified the British militant suspected of murdering the American journalist James Foley, senior UK government sources confirm.