add Scope::peridotBindTo and clean up child scope scanning