Text this: Spectrum and transmission range aware clustering for cognitive radio ad hoc networks