Introduce ReplicationTaskId as thread-local Allow other plugins and classes to access the current replication task id through a thread-local. Change-Id: Iacacda973fb5635877b4c68d468542dc69627181