provide attachment attribute when attaching context

Change-Id: I21644f2c77c51385e4e282e3a16eed0aea139b27
Signed-off-by: Nicholas Folk <Nicholas.folk@tasktop.com>