SONAR-5007 - Added RuleDoc.id() method for sqale backward compat.