I think the whole thread calls for a variable to let the user configure the way she wants references to be inserted.
Because \nameref could be useful in LaTeX/Beamer too. And maybe ODT could enjoy such a function too. Nicolas, what do you think? -- Bastien