FORGE-572 Fixed bug involving annotations on properties

@Id annotation on fields was parsed correctly to obtain primary key metadata. The fix ensures the same even for @Id annotations on properties.
Merge pull request #313 from VineetReynolds/FORGE-572

FORGE-572 Fixed bug involving annotations on properties