A rather similar treatment of fictional names, different from mine in that it allows the actual and purported meanings of Sherlock Holmes to be the same, is given in Robert Stalnaker, Assertion in Syntax and Semantics ed.