Cleaned up some source, copied GetID to a new DateParser plugin to parse selected text as a date.