Rename SystemProfile#name[_str] to #codename[_str].

It would be confusing if #name and #hostname were both methods on
SystemProfile.
Add SystemProfile#hostname helper.