Note, this is intended as a way to hold a cup in one’s hand rather than to attach to another thing, but you could also use it to hook onto something else.
ISO 9999 codes:
Source: How to Make It Cheap Volume 1 - - - Full text at https://archive.org/details/cheap-manual-vol-1