[Reviewer: Graeme] Pass trail ID through to memcached store