core/attribute: document attribute references

Signed-off-by: Alejandro Mery <amery@geeks.cl>