Cleanup: Remove unused variables
ica: Extract id generation into its own function
ica: Use CommonCrypto instead of openssl directly

This avoids the deprecation warnings for openssl