Returns the stock id of the stock item if the button has been created from one.
See also: set_stock_id()