1. A method for identifying a pattern, said method comprising: compiling a pattern description, said pattern description defining a series of a first event and a second event relating to the first event; receiving the first event, said first event including a type parameter data, a time parameter data, and a substance parameter data; attaching a first script to the first event, said first script defining type, time and substance parameters of the second event as a function of the parameters of the first event according to the pattern description; and executing the attached first script of the first event, said executed script identifying the second event and thereby identifying the pattern.