add _sage_ method to Derivative and hyper; part of #3444