[#643] Take into account variations in old style identifiers

* Check that the old style identifiers are at least 8 characters long
Merge pull request #722 from akvo/issue/643_code_cleanup_monitoring_code

[#643] Take into account variations in old style identifiers