Finding Security in a Use Based Grammar and its Applications for Lexical Analysis