On Square Point of Sale, in the In-Person Order Tickets, you can toggle on the option to manually enter a custom name or number, or have ticket numbers auto-assigned.
I think this feature should also be possible in Square for Retail.
Square Community