append record id to id attr of task element