Add a more convenient way to scope a property

Since the current convention of writing the name of the property followed by a @ and then the scope is a bit fussy, I would suggest to have a separate scope parameter, like it is also done in the socket API method.