Fix extract task ID bug

Why is this change necessary?
Before, task ID was not read properly from log file. This was an error
from copy-pasting the extraction method for task titles and subsequently
forgetting to change the extraction method to that for task IDs.