Add ID to task and tag