Added subject id in policy schema

Jira-issue: WP-1165
Added subject id validation tests

Jira-issue: WP-1165