define_property(): Change constraints of INITIALIZE_FROM_VARIABLE
Remove the requirement that the variable name have a prefix while keeping the suffix requirement. Require that the property name contain an underscore. Update docs and tests accordingly.
Fixes: #23340 (closed)
Backport: release
Edited by Kyle Edwards