My original problem is, that I need to get the python path to any property in an operator in the right click menu.
I can get the path to most, but not to the ones that are context sensitive, so for example properties that belong to the overlay settings in the 3D View.
I can get the property value though and with that its identifier. My problem now is, that I need the full python path to that property. So for example not just
Is there a way to get from the property (for example
bpy.context.object.bl_rna.properties['location']) to a string representation similar to