This is not a bijective mapping -- multiple LessWrong usernames may return the same wiki user name if the first character is omitted.  (The uppercase check is fine because LW lowercases usernames before checking uniqueness)

I'd suggest adding a 'cannot-be-determined' return value and adding handling for it.