Reference functions and solutions to bargaining problems with claims