'create standard attr object.'

def _create_so(self, o_type, values):

    stan = db_utils.get_table(self.engine, 'standardattributes')
    rec_ids = [r.id for r in self.engine.execute(stan.select()).fetchall()]
    next_id = (max(([0] + rec_ids)) + 1)
    self.engine.execute(stan.insert().values({'id': next_id, 'resource_type': o_type}))
    values['standard_attr_id'] = next_id
    return self._create_rec(o_type, values)
