implement new_specification in terms of gen_new_specification

in pairLib - should re-export elsewhere.