Ensure that the prefix is added to the tagnumber before writing it to the tag