make entry Id generation more conformant to description

A fragment can have multiple # and http://web.archive.org/web/20110915110202/http://diveintomark.org/archives/2004/05/28/howto-atom-id says to convert them all to '/'. Current code only converts the first #.