recommendation of next prefix, enforce order of {int,str} when defining prefix