isValidIdentifier, fixing it for Lively