public function getAttribute($key) { // query whether the identifier exists or not if (isset($this[$uid = $this->maskKey($key)])) { return $this[$uid]; } }