support {reader,writer}_prefix for private attributes