Function to pad a patent_id with zeroes to 8 characters. This is needed only for custom applications that want the API to pad patent numbers automatically. Needed if querying by patent_id or custom paging that uses sorts by patent_id, the patent_id values in these cases would need to be padded. The API's automatic paging feature is not exposed or used by the R package.