Better static_id handling for publishText