In the documentation it should say which args will be given to the next id hook.
(from redmine: issue id 2756, created on 2013-09-30, closed on 2013-09-30)