add the `createTag` function to simplify `Tag` creation for authors.