Convert Guid To Solr Form

Converts a standard Guid to a format that can be used in Solr.

Removes hypens, brackets and lowercases.

Result:

Convert Mongo BinData to a Guid

"MC/0P9nkEeGgjYQrK2V3pQ==" to 3ff42f30-e4d9-e111-a08d-842b2b6577a5

Thanks to Some Little Bits for the code

Result: