Create and assign a tag