get id when the property is a pointer.