Support global variables

This is why I think it should just be Ident and not Pat.