Retrieve hardware id to identify local machine.
This method generates a hardware id from the mac address.