Move List#ids into the public API.

Closes #130.