Create an AST visitor and a unique identifier generator for giving unique ids to specific parts of the analysed code.