need to (re)think ids for attribute nodes #7