replace names by ids before handing an expression to the jc parser
register event handlers when loading constructions from file or string