Added functionality to prefix each attribute with a prefix for each event in ES