The name `to_bucket_name` restricts context well. But this function does not.
At least for me (maybe only for me :P ), only the word `Type` sounds ambiguous.
What kind? Riak nodes or bucket or ... hmm...