New publishText function that allows custom scale and id number be passed in