SilcBuffer silc_id_payload_encode(const void *id, SilcIdType type);
Encodes ID Payload. The `id' is the ID of the type `type' to put into the payload. Returns the encoded payload buffer.