Added unit tests for PermissionIdentifier
Some PHPDoc fix