ID cards 'will not protect UK against terrorism'