Function to parse the key out of a Google Spreadsheets or Bertha URL