The host id is cached on db::config object that's available in all the places that need it. This allows removing the method in question from the system_keyspace and not caring that anyone that needs host_id would have to depend on system_keyspace instance. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>