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 of JPA entities.