Clarify a few docstrings
Minor code style changes

We're not sure if a valid id might ever be 0. And using all() is a
little less verbose.