As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.
This facet basically opens a catalog of messages defined in the base class messages_base, retrieves the information required, and closes the catalog.