Expect "attempt" for tasks in assignments

The current attempt is needed when registering logs with tasks on the
master.
Remember log_identifier in ProcessData
Logfile names cannot include directories anymore

If log file names contain directories, that makes the logs much harder to
locate when they are requested via HTTP.