Format properties and method names as code