It's a bit nicer if functions that allocate ranges have some kind of name that includes both "allocate" and "range". :^)
f_basetype