Rename a function. Also provide a way to translate from boundary_id to strings, not just the other way around.