inherit tag_id from db.py