E' probabile che sia dovuto al fatto che tu usi un nome di variabile che e' parola riservata... prova a cambiare id

ciao