The attachID is already unique, so use that instead of another unique string + some variable names consistency

Signed-off-by: emanuele <emanuele45@gmail.com>