Proper use of nodecomposition option in posterior estimation and identification

This fixes #784