sampi: Don't allow duplicate hosts

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Use hostname as default host ID

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>