Export identOrLiteralString and add docs