'Build the SolidFire account name to use.'

def _get_sf_account_name(self, project_id):

    prefix = (self.configuration.sf_account_prefix or '')
    if (prefix == 'hostname'):
        prefix = socket.gethostname()
    return ('%s%s%s' % (prefix, ('-' if prefix else ''), project_id))
