setting association between tag and assignment