Recent attacks have brought the use of the word to the fore, but who decides whether a crime is terrorism or not?